package com.shop.cloud.model.request.api;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.ToString;

/**
 * @author xiaojun.wang
 */
@ToString(callSuper = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(value = {"hibernateLazyInitializer", "handler", "fieldHandler"}, ignoreUnknown = true)
public class ApiJoinRequestModel extends ApiRestfulRequest {

    private static final long serialVersionUID = -3286520204644035655L;

    @JsonProperty("userid")
    @ApiModelProperty(value = "用户id", example = "1", required = true)
    private String userid;
    
    @JsonProperty("name")
    @ApiModelProperty(value = "商家名称", example = "", required = true)
    private String name;
    
    @JsonProperty("images")
    @ApiModelProperty(value = "商家图片", example = "", required = true)
    private String images;
    
    @JsonProperty("detail")
    @ApiModelProperty(value = "商家简介", example = "", required = true)
    private String detail;
    
    @JsonProperty("type")
    @ApiModelProperty(value = "商家类型id", example = "", required = true)
    private String type;
    
    @JsonProperty("phone")
    @ApiModelProperty(value = "商家电话", example = "", required = true)
    private String phone;
    
    @JsonProperty("address")
    @ApiModelProperty(value = "商家地址", example = "", required = true)
    private String address;
    
    @JsonProperty("time")
    @ApiModelProperty(value = "商家经营时间", example = "", required = true)
    private String time;
    
    @JsonProperty("aptitude")
    @ApiModelProperty(value = "资质图片", example = "", required = true)
    private String aptitude;
    
    @JsonProperty("verify")
    @ApiModelProperty(value = "加密字符串", example = "", required = true)
    private String verify;

	public String getUserid() {
		return userid;
	}

	public void setUserid(String userid) {
		this.userid = userid;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getImages() {
		return images;
	}

	public void setImages(String images) {
		this.images = images;
	}

	public String getDetail() {
		return detail;
	}

	public void setDetail(String detail) {
		this.detail = detail;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getTime() {
		return time;
	}

	public void setTime(String time) {
		this.time = time;
	}

	public String getAptitude() {
		return aptitude;
	}

	public void setAptitude(String aptitude) {
		this.aptitude = aptitude;
	}

	public String getVerify() {
		return verify;
	}

	public void setVerify(String verify) {
		this.verify = verify;
	}
 
}
